package com.dsiab.portalService.service;

import com.dsiab.portalService.entity.CommentDto;
import com.dsiab.portalService.entity.PagesDto;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

public interface PagesSerice {

  public List<PagesDto> getRecomList(String type);

  public Object getListByPage(String page);

  public Object getListByCatePage(String cate,String page);

  public Object getListByTagsPage(String tag,String page) throws UnsupportedEncodingException;

  public Object getCateList();

  public Object getTagsList();

  public Map getDetailByPageId(String id);

  public List<PagesDto> getRecommendBySameTags(String id);

  public Map getSiteInfo();

  public Object getTopicList();

  public Object getTopicDetailList(String topicId);

  public void addComment(CommentDto CommentDto);

  public List<CommentDto> getCommentByPostId(String postId);

}
